package com.wl.es7.study.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wl.es7.study.entity.Car;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Value;

import java.util.List;

public interface CarMapper extends BaseMapper<Car> {

    @InterceptorIgnore(tenantLine = "true")
    @Select(" select * from car")
    List<Car> findAll();
}
